Executes the given named command and returns the result of an execution.
'Declaration
Public Overloads Overridable Function Execute(Of )( _
ByVal command As String, _
ByVal ParamArray () As Object _
) As TResult
public virtual Execute<>(
string command,
params object[] parameters
)
Parameters
- command
- Command name.
- parameters
- Command parameters.
Type Parameters
- TResult
- Result type.
Return Value
The result of a command execution.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2